home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / smrtslds.sit / SmartSlides 1.1 Demo / card_6201.txt < prev    next >
Text File  |  1990-06-12  |  13KB  |  647 lines

  1. -- card: 6201 from stack: in.1 Demo
  2. -- bmap block id: 6982
  3. -- flags: 0000
  4. -- background id: 2635
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=0 top=19 right=50 bottom=12
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Delay
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionKey is down then GiveHelp "Delay┬á"
  23.   else pass mouseUp
  24. end mouseUp
  25.  
  26. on mousedown
  27.   if the optionKey is up then pass mouseDown
  28. end mouseDown
  29.  
  30.  
  31. -- part 2 (button)
  32. -- low flags: 00
  33. -- high flags: 0000
  34. -- rect: left=0 top=55 right=86 bottom=12
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 0 / 0
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: Beep
  43. ----- HyperTalk script -----
  44. on mouseUp
  45.   if the optionKey is down then GiveHelp "Beep┬á"
  46.   else pass mouseUp
  47. end mouseUp
  48.  
  49. on mousedown
  50.   if the optionKey is up then pass mouseDown
  51. end mouseDown
  52.  
  53.  
  54. -- part 3 (button)
  55. -- low flags: 00
  56. -- high flags: 0000
  57. -- rect: left=0 top=89 right=120 bottom=12
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 0 / 0
  60. -- text alignment: 1
  61. -- font id: 0
  62. -- text size: 12
  63. -- style flags: 0
  64. -- line height: 16
  65. -- part name: LockScreen
  66. ----- HyperTalk script -----
  67. on mouseUp
  68.   if the optionKey is down then GiveHelp "LockScreen┬á"
  69.   else pass mouseUp
  70. end mouseUp
  71.  
  72. on mousedown
  73.   if the optionKey is up then pass mouseDown
  74. end mouseDown
  75.  
  76.  
  77. -- part 4 (button)
  78. -- low flags: 00
  79. -- high flags: 0000
  80. -- rect: left=0 top=123 right=154 bottom=12
  81. -- title width / last selected line: 0
  82. -- icon id / first selected line: 0 / 0
  83. -- text alignment: 1
  84. -- font id: 0
  85. -- text size: 12
  86. -- style flags: 0
  87. -- line height: 16
  88. -- part name: Opener
  89. ----- HyperTalk script -----
  90. on mouseUp
  91.   if the optionKey is down then GiveHelp "On OpenCard┬á"
  92.   else pass mouseUp
  93. end mouseUp
  94.  
  95. on mousedown
  96.   if the optionKey is up then pass mouseDown
  97. end mouseDown
  98.  
  99.  
  100. -- part 5 (field)
  101. -- low flags: 01
  102. -- high flags: 0000
  103. -- rect: left=16 top=12 right=45 bottom=487
  104. -- title width / last selected line: 0
  105. -- icon id / first selected line: 0 / 0
  106. -- text alignment: 1
  107. -- font id: 91
  108. -- text size: 24
  109. -- style flags: 0
  110. -- line height: 32
  111. -- part name: Title
  112.  
  113.  
  114. -- part 6 (field)
  115. -- low flags: 01
  116. -- high flags: 0000
  117. -- rect: left=89 top=48 right=303 bottom=487
  118. -- title width / last selected line: 0
  119. -- icon id / first selected line: 0 / 0
  120. -- text alignment: 0
  121. -- font id: 91
  122. -- text size: 24
  123. -- style flags: 0
  124. -- line height: 32
  125. -- part name: body
  126.  
  127.  
  128. -- part 9 (button)
  129. -- low flags: 00
  130. -- high flags: 0000
  131. -- rect: left=89 top=50 right=82 bottom=487
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 0 / 0
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Hiliter
  140.  
  141.  
  142. -- part 10 (button)
  143. -- low flags: 00
  144. -- high flags: 0000
  145. -- rect: left=89 top=82 right=114 bottom=487
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 1
  149. -- font id: 0
  150. -- text size: 12
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: Hiliter
  154.  
  155.  
  156. -- part 11 (button)
  157. -- low flags: 00
  158. -- high flags: 0000
  159. -- rect: left=89 top=114 right=146 bottom=487
  160. -- title width / last selected line: 0
  161. -- icon id / first selected line: 0 / 0
  162. -- text alignment: 1
  163. -- font id: 0
  164. -- text size: 12
  165. -- style flags: 0
  166. -- line height: 16
  167. -- part name: Hiliter
  168.  
  169.  
  170. -- part 12 (button)
  171. -- low flags: 00
  172. -- high flags: 0000
  173. -- rect: left=89 top=146 right=178 bottom=487
  174. -- title width / last selected line: 0
  175. -- icon id / first selected line: 0 / 0
  176. -- text alignment: 1
  177. -- font id: 0
  178. -- text size: 12
  179. -- style flags: 0
  180. -- line height: 16
  181. -- part name: Hiliter
  182.  
  183.  
  184. -- part 13 (button)
  185. -- low flags: 00
  186. -- high flags: 0000
  187. -- rect: left=89 top=178 right=210 bottom=487
  188. -- title width / last selected line: 0
  189. -- icon id / first selected line: 0 / 0
  190. -- text alignment: 1
  191. -- font id: 0
  192. -- text size: 12
  193. -- style flags: 0
  194. -- line height: 16
  195. -- part name: Hiliter
  196.  
  197.  
  198. -- part 14 (button)
  199. -- low flags: 00
  200. -- high flags: 0000
  201. -- rect: left=89 top=210 right=242 bottom=487
  202. -- title width / last selected line: 0
  203. -- icon id / first selected line: 0 / 0
  204. -- text alignment: 1
  205. -- font id: 0
  206. -- text size: 12
  207. -- style flags: 0
  208. -- line height: 16
  209. -- part name: Hiliter
  210.  
  211.  
  212. -- part 15 (button)
  213. -- low flags: 00
  214. -- high flags: 0000
  215. -- rect: left=89 top=242 right=274 bottom=487
  216. -- title width / last selected line: 0
  217. -- icon id / first selected line: 0 / 0
  218. -- text alignment: 1
  219. -- font id: 0
  220. -- text size: 12
  221. -- style flags: 0
  222. -- line height: 16
  223. -- part name: Hiliter
  224.  
  225.  
  226. -- part 16 (button)
  227. -- low flags: 00
  228. -- high flags: 0000
  229. -- rect: left=89 top=274 right=303 bottom=487
  230. -- title width / last selected line: 0
  231. -- icon id / first selected line: 0 / 0
  232. -- text alignment: 1
  233. -- font id: 0
  234. -- text size: 12
  235. -- style flags: 0
  236. -- line height: 16
  237. -- part name: Hiliter
  238.  
  239.  
  240. -- part 7 (button)
  241. -- low flags: 00
  242. -- high flags: 8000
  243. -- rect: left=424 top=285 right=307 bottom=488
  244. -- title width / last selected line: 0
  245. -- icon id / first selected line: 0 / 0
  246. -- text alignment: 1
  247. -- font id: 0
  248. -- text size: 12
  249. -- style flags: 0
  250. -- line height: 16
  251. -- part name: Step 1
  252. ----- HyperTalk script -----
  253. on restore
  254.   put the id of me into holder
  255.   put 1 into item 1 of line holder of field Heirarchy
  256.   if item 2 of line holder of field Heirarchy is empty
  257.   then
  258.   set the name of button ID holder to "Step (1)"
  259. else
  260.   set the name of button ID holder to "Step 1"
  261. end if
  262. end restore
  263.  
  264.  
  265.  
  266. -- part 8 (button)
  267. -- low flags: 00
  268. -- high flags: 0001
  269. -- rect: left=89 top=50 right=303 bottom=487
  270. -- title width / last selected line: 0
  271. -- icon id / first selected line: 0 / 0
  272. -- text alignment: 1
  273. -- font id: 0
  274. -- text size: 12
  275. -- style flags: 0
  276. -- line height: 16
  277. -- part name: Shrinker 32
  278. ----- HyperTalk script -----
  279. on restore
  280.   put the id of me into holder
  281.   set the rect of me to line holder of background field "ButtonRects"
  282.   put 1 into item 1 of line holder of field Chains
  283. end restore
  284.  
  285.  
  286.  
  287. -- part 17 (button)
  288. -- low flags: 00
  289. -- high flags: 0000
  290. -- rect: left=52 top=50 right=82 bottom=85
  291. -- title width / last selected line: 0
  292. -- icon id / first selected line: 10454 / 10454
  293. -- text alignment: 1
  294. -- font id: 0
  295. -- text size: 12
  296. -- style flags: 0
  297. -- line height: 16
  298. -- part name: CheckBox Dingbat
  299.  
  300.  
  301. -- part 18 (button)
  302. -- low flags: 00
  303. -- high flags: 0000
  304. -- rect: left=52 top=82 right=114 bottom=85
  305. -- title width / last selected line: 0
  306. -- icon id / first selected line: 10454 / 10454
  307. -- text alignment: 1
  308. -- font id: 0
  309. -- text size: 12
  310. -- style flags: 0
  311. -- line height: 16
  312. -- part name: CheckBox Dingbat
  313.  
  314.  
  315. -- part 19 (button)
  316. -- low flags: 00
  317. -- high flags: 0000
  318. -- rect: left=52 top=114 right=146 bottom=85
  319. -- title width / last selected line: 0
  320. -- icon id / first selected line: 10454 / 10454
  321. -- text alignment: 1
  322. -- font id: 0
  323. -- text size: 12
  324. -- style flags: 0
  325. -- line height: 16
  326. -- part name: CheckBox Dingbat
  327.  
  328.  
  329. -- part 21 (button)
  330. -- low flags: 00
  331. -- high flags: 0000
  332. -- rect: left=52 top=178 right=210 bottom=85
  333. -- title width / last selected line: 0
  334. -- icon id / first selected line: 10454 / 10454
  335. -- text alignment: 1
  336. -- font id: 0
  337. -- text size: 12
  338. -- style flags: 0
  339. -- line height: 16
  340. -- part name: CheckBox Dingbat
  341.  
  342.  
  343. -- part 23 (button)
  344. -- low flags: 00
  345. -- high flags: 0000
  346. -- rect: left=52 top=242 right=274 bottom=85
  347. -- title width / last selected line: 0
  348. -- icon id / first selected line: 10454 / 10454
  349. -- text alignment: 1
  350. -- font id: 0
  351. -- text size: 12
  352. -- style flags: 0
  353. -- line height: 16
  354. -- part name: CheckBox Dingbat
  355.  
  356.  
  357. -- part 24 (field)
  358. -- low flags: 81
  359. -- high flags: 2004
  360. -- rect: left=211 top=56 right=274 bottom=483
  361. -- title width / last selected line: 0
  362. -- icon id / first selected line: 0 / 0
  363. -- text alignment: 0
  364. -- font id: 3
  365. -- text size: 12
  366. -- style flags: 0
  367. -- line height: 16
  368. -- part name: PopUp 25
  369.  
  370.  
  371. -- part 25 (button)
  372. -- low flags: 00
  373. -- high flags: 0000
  374. -- rect: left=0 top=282 right=309 bottom=13
  375. -- title width / last selected line: 0
  376. -- icon id / first selected line: 0 / 0
  377. -- text alignment: 1
  378. -- font id: 0
  379. -- text size: 12
  380. -- style flags: 0
  381. -- line height: 16
  382. -- part name: PopItUp
  383. ----- HyperTalk script -----
  384. on mouseUp
  385.   if the optionKey is down then
  386.     GiveHelp "PopUp┬á"
  387.   else pass mouseUp
  388. end mouseUp
  389.  
  390. on mousedown
  391.   if the optionKey is up then pass mouseDown
  392. end mouseDown
  393.  
  394.  
  395. -- part 26 (field)
  396. -- low flags: 81
  397. -- high flags: 2004
  398. -- rect: left=211 top=20 right=285 bottom=484
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 0 / 0
  401. -- text alignment: 0
  402. -- font id: 3
  403. -- text size: 12
  404. -- style flags: 0
  405. -- line height: 16
  406. -- part name: PopUp 27
  407.  
  408.  
  409. -- part 27 (button)
  410. -- low flags: 00
  411. -- high flags: 0000
  412. -- rect: left=0 top=282 right=309 bottom=13
  413. -- title width / last selected line: 0
  414. -- icon id / first selected line: 0 / 0
  415. -- text alignment: 1
  416. -- font id: 0
  417. -- text size: 12
  418. -- style flags: 0
  419. -- line height: 16
  420. -- part name: PopItUp
  421. ----- HyperTalk script -----
  422. on mouseUp
  423.   if the optionKey is down then
  424.     GiveHelp "PopUp┬á"
  425.   else pass mouseUp
  426. end mouseUp
  427.  
  428. on mousedown
  429.   if the optionKey is up then pass mouseDown
  430. end mouseDown
  431.  
  432.  
  433. -- part 28 (field)
  434. -- low flags: 81
  435. -- high flags: 2004
  436. -- rect: left=211 top=20 right=285 bottom=484
  437. -- title width / last selected line: 0
  438. -- icon id / first selected line: 0 / 0
  439. -- text alignment: 0
  440. -- font id: 3
  441. -- text size: 12
  442. -- style flags: 0
  443. -- line height: 16
  444. -- part name: PopUp 29
  445.  
  446.  
  447. -- part 29 (button)
  448. -- low flags: 00
  449. -- high flags: 0000
  450. -- rect: left=0 top=282 right=309 bottom=13
  451. -- title width / last selected line: 0
  452. -- icon id / first selected line: 0 / 0
  453. -- text alignment: 1
  454. -- font id: 0
  455. -- text size: 12
  456. -- style flags: 0
  457. -- line height: 16
  458. -- part name: PopItUp
  459. ----- HyperTalk script -----
  460. on mouseUp
  461.   if the optionKey is down then
  462.     GiveHelp "PopUp┬á"
  463.   else pass mouseUp
  464. end mouseUp
  465.  
  466. on mousedown
  467.   if the optionKey is up then pass mouseDown
  468. end mouseDown
  469.  
  470.  
  471. -- part contents for background part 283
  472. ----- text -----
  473. 6
  474.  
  475. -- part contents for background part 33
  476. ----- text -----
  477. scroll left slowly to card
  478. scroll right slowly to card
  479.  
  480. -- part contents for card part 5
  481. ----- text -----
  482. Shrinker  &  Stepper  Buttons
  483.  
  484. -- part contents for card part 6
  485. ----- text -----
  486. Click repeatedly at lower right.
  487. Each click reveals one more line.
  488. A Shrinker button shrinks downward
  489. one more line each time you click it.
  490. Each size of the Shrinker can be the
  491. start of a new chain.
  492. Using chaining, you can make it
  493. shrink two lines at once.
  494.  
  495. -- part contents for background part 130
  496. ----- text -----
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504. 89,50,487,303
  505.  
  506. -- part contents for background part 142
  507. ----- text -----
  508. Delay
  509.  
  510.  
  511. Opener
  512.  
  513.  
  514. Step (4)
  515. Shrinker 32
  516. Hiliter
  517. Hiliter
  518. Hiliter
  519. Hiliter
  520. Hiliter
  521. Hiliter
  522. Hiliter
  523. Hiliter
  524. CheckBox Dingbat
  525. CheckBox Dingbat
  526. CheckBox Dingbat
  527.  
  528. CheckBox Dingbat
  529.  
  530. CheckBox Dingbat
  531. PopUp 25
  532. PopItUp
  533. PopUp 27
  534. PopItUp
  535.  
  536. PopItUp
  537.  
  538. -- part contents for background part 100
  539. ----- text -----
  540.  
  541.  
  542.  
  543. 1,4 8 17 9 1
  544.  
  545.  
  546. 1,7 25,7 24 27,7 26 29
  547. 1,,8 17 18 10 1,8 18 19 11 1,8 11 12 1 1,8 8 19 21 13 14 1 1,,8 8 21 23 15 16 1 1
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563. -- part contents for background part 125
  564. ----- text -----
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589. 24
  590.  
  591. 26
  592.  
  593. 28
  594.  
  595. -- part contents for card part 24
  596. ----- text -----
  597. STAGE ONE IN CREATING THIS SLIDE:
  598.  
  599. ΓÇó  Create Title field
  600. ΓÇó  Enter title
  601. ΓÇó  Create Body field
  602. ΓÇó  Resize Body field 
  603.     to leave left margin
  604. ΓÇó  Enter text
  605. ΓÇó  Tile Hiliters on Body field
  606. ΓÇó  Create & locate CheckBox button
  607. ΓÇó  Use Shift-Command-Drag to
  608.     duplicate CheckBox buttons
  609.  
  610.  
  611. -- part contents for card part 26
  612. ----- text -----
  613. STAGE TWO IN CREATING THIS SLIDE:
  614.  
  615. ΓÇó  Create & locate Stepper button
  616. ΓÇó  Create Shrinker button on Body
  617. ΓÇó  Chain:  On OpenCard, Shrinker, 
  618.                CheckBox, Hiliter, Delay
  619. ΓÇó  Chain:  Shrinker, CheckBox 1,
  620.                CheckBox 2, Hiliter 2, Delay
  621. ΓÇó  Chain:  Shrinker, CBox 2, CBox 3,
  622.                Hiliter 3, Delay
  623. ΓÇó  Chain:  Shrinker, Hiliter 3, Hiliter 4,
  624.                Delay, Delay
  625. ΓÇó  Chain:  Shrinker, Shrinker, CBox 3, 
  626.                CBox 4, Hiliter 5, Hiliter 6,
  627.                Delay, Delay
  628. ΓÇó  Chain:  Similarly for last two lines
  629.  
  630. -- part contents for card part 28
  631. ----- text -----
  632. STAGE THREE IN CREATING THIS SLIDE:
  633.  
  634. ΓÇó  Create PopUp field
  635. ΓÇó  Change font & resize field
  636. ΓÇó  Enter description of Stage 1
  637. ΓÇó  Chain:  Stepper, PopUp's button
  638. ΓÇó  Create 2nd PopUp field
  639. ΓÇó  Change font & resize field; 
  640.     leave a bit of first PopUp showing
  641. ΓÇó  Chain:  Stepper, first PopUp field,
  642.                second PopUp's button (on top)
  643. ΓÇó  Enter description of Stage 2
  644. ΓÇó  Create 3rd PopUp, change font, resize
  645. ΓÇó  Chain:  Stepper, Pop2, Pop3's button
  646. ΓÇó  Enter this text
  647. ΓÇó  Reset slide; make next slide